package com.example.auth.mapper;

import com.example.auth.entity.SysMenu;
import com.example.auth.entity.dto.SysMenuCreateDTO;
import com.example.auth.entity.dto.SysMenuEditDTO;
import com.example.auth.entity.vo.SysMenuQueryVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface ISysMenuMapper {

    ISysMenuMapper INSTANCT = Mappers.getMapper(ISysMenuMapper.class);

    SysMenuQueryVO sysMenuToSSysMenuQueryVO(SysMenu sysMenu);

    SysMenu sysMenuCreateDTOToSysMenu(SysMenuCreateDTO sysMenuCreateDTO);

    SysMenu sysMenuEditDTOToSysMenu(SysMenuEditDTO sysMenuEditDTO);


}
